/****** Object:  Stored Procedure [dbo].spAccountUpdate Script Date: 6/12/2012 ******/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[spAccountChangePassword]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[spAccountChangePassword]
GO

/******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:					Description:
**		--------	--------				-----------------------------------
**		23/06/2012	SongTM					Innit created
*******************************************************************************/

CREATE PROCEDURE [dbo].[spAccountChangePassword]
(
	@ID nvarchar(12),
	@Matkau nvarchar(30)
)

WITH ENCRYPTION

AS

SET NOCOUNT ON

UPDATE [tbl_Account]
SET 
	@Matkau = @Matkau
WHERE	[ID] = @ID
GO

--GRANT EXECUTE ON [dbo].[spAccountChangePassword] TO [sa]
--GO
